﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Epona.Domain.Query
{
    public class OrderSettings
    {
        public Dictionary<string, bool> Orderby { private set; get; }

        public void asc(string propName)
        {
            Orderby.Add(propName,true);
        }

        public void desc(string propName)
        {
            Orderby.Add(propName, false);
        }
    }
}
